var testDung = dungeonFactory(60, 60, 7, 197);
writeArray2D(testDung.template); 
/*testDung = instance_create(0, 0, obj_Dungeon);
testRoom1 = roomFactory(2, 3, 1, 3, 234);
testRoom2 = roomFactory(3, 4, 1, 3, 234);
testRoom1.tileX = 1;
testRoom1.tileY = 1;
testRoom2.tileX = 5;
testRoom2.tileY = 2;

layerModule(testDung, testRoom1);
layerModule(testDung, testRoom2);*/